home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / what's new / sample code / printing / scriptable print simpletext / clipboard.r < prev    next >
Encoding:
Text File  |  1999-06-04  |  1011 b   |  33 lines

  1. /*
  2. **    File:        Clipboard.r
  3. **
  4. **    Contains:    Clipboard support for simple text application
  5. **
  6. ** Copyright 1993-1999 Apple Computer. All rights reserved.
  7. **
  8. **    You may incorporate this sample code into your applications without
  9. **    restriction, though the sample code has been provided "AS IS" and the
  10. **    responsibility for its operation is 100% yours.  However, what you are
  11. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  12. **    after having made changes. If you're going to re-distribute the source,
  13. **    we require that you make it clear in the source that the code was
  14. **    descended from Apple Sample Code, but that you've made changes.
  15.  
  16. */
  17.  
  18. #include "Clipboard.h"
  19.  
  20. resource 'WIND' (kClipboardWindowID, purgeable) {
  21.     {100, 100, 215, 400}, zoomDocProc, invisible, goAway, 0, CLIPBOARDTITLE, centerMainScreen
  22. };
  23.  
  24. resource 'STR#' (kClipboardStrings, purgeable) {
  25.     {
  26.     CLIPBOARDNONESTRING;
  27.     CLIPBOARDUNKNOWNSTRING;
  28.     CLIPBOARDPICTSTRING;
  29.     CLIPBOARDTEXTSTRING;
  30.     CLIPBOARDHIDE;
  31.     CLIPBOARDSHOW;
  32.     };
  33. };